package Models;

/**
 * @author Morten
 */
public class BusinessCustomer extends Customer
{
	private String companyName;
	private String contact;
	private int cvr;

	public BusinessCustomer(String companyName, String contact, int cvr, String address, int zipCode, String city, int phoneNo)
	{
		super(address, zipCode, city, phoneNo);
		this.setCompanyName(companyName);
		this.setContact(contact);
		this.setCvr(cvr);
	}

	public void edit(String companyName, String contact, int cvr, String address, int zipCode, String city, int phoneNo)
	{
		this.setCompanyName(companyName);
		this.setContact(contact);
		this.setCvr(cvr);
		super.edit(address, zipCode, city, phoneNo);
	}

	public String getCompanyName()
	{
		return companyName;
	}

	public String getContact()
	{
		return contact;
	}

	public int getCvr()
	{
		return cvr;
	}

	public void setCompanyName(String companyName)
	{
		this.companyName = companyName;
	}

	public void setContact(String contact)
	{
		this.contact = contact;
	}

	public void setCvr(int cvr)
	{
		this.cvr = cvr;
	}
}
